<!--  -->
<script setup>

</script>

<template>
  <div class="view-container">
    <div class="episode-info">
      <div class="episode-title">
        大标题
      </div>
      <div class="episode-subtitle">
        小标题
      </div>
    </div>
    <div class="prev-next">
      <div class="op-button">上一章</div>
      <div class="op-button">下一章</div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.view-container {
  position: sticky;
  top: 30px;
  max-height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.episode-info {

  .episode-title {
    font-size: 20px;
  }

  .episode-subtitle {
    font-size: 14px;
  }
}

.prev-next {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;

  .op-button {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
  }
}
</style>
